package com.sdgakj.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by  eiffel on 2017-04-05.
 *
 * Inserted by yl on 2017-05-17.
 */
@Entity
@Table(name = "f_family")
public class Family extends IdEntity  implements Serializable  {
    private static final long serialVersionUID = 1L;

    private String fName;
    private Timestamp updatetime;//更新时间
    private Timestamp createtime;//创建时间
    private String fDesp;//家族描述

    private Long userId;//创建人

    /*@Column(name = "fp_id")
    private Integer personid;//家族人员id

    public Integer getPersonid() {
        return personid;
    }

    public void setPersonid(Integer personid) {
        this.personid = personid;
    }*/

    public Family() {
    }

    public Family(Long id) {
        this.id = id;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public Timestamp getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Timestamp updatetime) {
        this.updatetime = updatetime;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public String getfDesp() {
        return fDesp;
    }

    public void setfDesp(String fDesp) {
        this.fDesp = fDesp;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
